package cn.iocoder.yudao.module.member.controller.admin.job.vo;

import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


/**
 * 招聘职位 Excel VO
 *
 * @author 谭万全
 */
@Data
public class JobExcelVO {
    @ExcelProperty("职位名称")
    private String jobName;
    @ExcelProperty("招聘企业")
    private String companyName;

    @ExcelProperty("工作地址")
    private String workAddress;
    /**
     * 部门
     */
    @ExcelProperty("部门")
    private String department;

    @ExcelProperty("操作人")
    private String operation;
    @ExcelProperty(value = "热门职位置顶" )
    private String isHot;
    @ExcelProperty(value = "最新职位置顶" )
    private String isNew;

    @ExcelProperty(value = "更新时间",format= "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(shape= JsonFormat.Shape.STRING, timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    /**
     * 职位描述
     */
    @ExcelProperty("职位描述")
    private String jobDescription;



}
